"Failed to clean up source mailbox after move" Error
I'm getting the following error after attempting a three mailbox move from one Exchange 2010 SP2 database to another on the same server. All the similar errors I've seen while searching are between 2010 and 2003 or 2007. Warning: Failed to clean up the source mailbox after the move. Error details: MapiExceptionUnexpectedMailboxState: Unable to delete mailbox. (hr=0x80004005, ec=2634) The move shows "Completed with warnings" as status, and I don't know how to clean the failed cleanup up. I HAVE been able to move mailboxes from one mailbox database before on this server. The log of move move shows the following, notice at one point the log says the cleanup is done, but then throws a "failed" flag and attempts cleanup 5 more times. This server has NOT had RU 3 applied. 6/25/2012 4:58:01 PM [HUB_Server] Move has completed and final clean up has started. 6/25/2012 4:58:01 PM [HUB_Server] Source mailbox 'Primary (58a48cb1-ff66-4893-a352-436ecd328504)' was successfully cleaned up after the move. 6/25/2012 4:58:01 PM [HUB_Server] Relinquishing job. 6/25/2012 4:58:06 PM [HUB_Server] The Microsoft Exchange Mailbox Replication service 'GATE5.evergreen.edu' (14.2.297.0 caps:07) is examining the request. 6/25/2012 4:58:06 PM [HUB_Server] Connected to target mailbox 'Primary (58a48cb1-ff66-4893-a352-436ecd328504)', database 'NoQuotasDtoF', Mailbox server '<Mailbox_Server>' Version 14.2 (Build 247.0). 6/25/2012 4:58:06 PM [HUB_Server] Mailbox move is already finished. 6/25/2012 4:58:06 PM [HUB_Server] Move has completed and final clean up has started. 6/25/2012 4:58:06 PM [HUB_Server] Failed to clean up the source mailbox 'Primary (58a48cb1-ff66-4893-a352-436ecd328504)' after the move. Attempt 1/6. Error details: MapiExceptionUnexpectedMailboxState MapiExceptionUnexpectedMailboxState: Unable to delete mailbox. (hr=0x80004005, ec=2634) at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException) at Microsoft.Mapi.ExRpcAdmin.DeletePrivateMailbox(Guid guidMdb, Guid guidMailbox, Int32 flags) at Microsoft.Exchange.MailboxReplicationService.LocalMailbox.DeleteMailboxInternal(Int32 flags) at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.<>c__DisplayClass2a.<Microsoft.Exchange.MailboxReplicationService.IMailbox.DeleteMailbox>b__29() at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation) at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.Microsoft.Exchange.MailboxReplicationService.IMailbox.DeleteMailbox(Int32 flags) at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.<>c__DisplayClass6d.<PostMoveCleanupSourceMailbox>b__6b() at Microsoft.Exchange.MailboxReplicationService.CommonUtils.CatchKnownExceptions(GenericCallDelegate del, FailureDelegate failureDelegate) 6/25/2012 4:58:06 PM [HUB_Server] Target mailbox 'Primary (58a48cb1-ff66-4893-a352-436ecd328504)' was successfully reset after the move. 6/25/2012 4:58:07 PM [HUB_Server] Post-move cleanup failed. The operation will try again in 30 seconds (1/6). 6/25/2012 4:58:37 PM [HUB_Server] Failed to clean up the source mailbox 'Primary (58a48cb1-ff66-4893-a352-436ecd328504)' after the move. Attempt 2/6.~bc
June 26th, 2012 12:34pm

I am having this issue as well after installing Rollup 3 for Exchange 2010 SP2. We have never had Exchange 2003 in our environment so the older solutions do not apply. Warning: Failed to clean up the source mailbox after the move. Error details: MapiExceptionUnexpectedMailboxState: Unable to delete mailbox. (hr=0x80004005, ec=2634) 7/5/2012 1:17:35 PM [SERVER] Post-move cleanup failed. The operation will try again in 30 seconds (5/6). 7/5/2012 1:18:06 PM [SERVER] Failed to clean up the source mailbox 'Primary (35cbb3c7-afed-459f-9fb7-55edf7c4cdc2)' after the move. Attempt 6/6. Error details: MapiExceptionUnexpectedMailboxState MapiExceptionUnexpectedMailboxState: Unable to delete mailbox. (hr=0x80004005, ec=2634) at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException) at Microsoft.Mapi.ExRpcAdmin.DeletePrivateMailbox(Guid guidMdb, Guid guidMailbox, Int32 flags) at Microsoft.Exchange.MailboxReplicationService.LocalMailbox.DeleteMailboxInternal(Int32 flags) at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.<>c__DisplayClass2a.<Microsoft.Exchange.MailboxReplicationService.IMailbox.DeleteMailbox>b__29() at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation) at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.Microsoft.Exchange.MailboxReplicationService.IMailbox.DeleteMailbox(Int32 flags) at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.<>c__DisplayClass6d.<PostMoveCleanupSourceMailbox>b__6b() at Microsoft.Exchange.MailboxReplicationService.CommonUtils.CatchKnownExceptions(GenericCallDelegate del, FailureDelegate failureDelegate) 7/5/2012 1:18:06 PM [SERVER] Request is complete.
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2012 2:30pm

This is for SP2 RU 3. The failure is for a few mailboxes, not all of them. Yes, the users can access their mailboxes, it is just I'm left with a "failure to cleanup" after moving. Again, this happens when moving mailboxes from one database to another ON THE SAME SERVER (Exchange 2003 is NOT involved).~bc
July 6th, 2012 1:43pm

I have same problem as you, after installing RU3, in move request log: Post-move cleanup failed. The operation will try again in 30 seconds - it appears 3times or 4times. I must move 4500 mbxes, most of them with zero or small data, but "completing" status blocked processing of next local move requests for 2 or 3 minutes. Only one option for me was modification of MSExchangeMailboxReplication.exe.config see here: http://social.technet.microsoft.com/Forums/en-us/exchange2010/thread/027afd76-0be0-4ff7-aa09-64f17b872285 Move requests was between two Ex2010SP2 servers only. Hard to say how to repair :-( On Exchange 2010 SP2 without any RU it was fast and easy to move such huge amount of mailboxes without problem in few hours. I am not able to found how to change retry time 30 seconds for post-move clean-up.
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2012 7:41am

We are running Exchange 2010 SP2 UR3 and also have the same issue. I'm moving about 125 mailboxes from DB1 to a new DB01 (DAG - but active copies are both on the same server). Error in Move Request Log: 7/11/2012 12:10:49 PM [CAVTMASE131] Post-move cleanup failed. The operation will try again in 30 seconds (1/6). 7/11/2012 12:11:19 PM [CAVTMASE131] Post-move cleanup failed. The operation will try again in 30 seconds (2/6). 7/11/2012 12:11:50 PM [CAVTMASE131] Post-move cleanup failed. The operation will try again in 30 seconds (3/6). 7/11/2012 12:12:21 PM [CAVTMASE131] Post-move cleanup failed. The operation will try again in 30 seconds (4/6). 7/11/2012 12:12:52 PM [CAVTMASE131] Post-move cleanup failed. The operation will try again in 30 seconds (5/6). 7/11/2012 12:13:23 PM [CAVTMASE131] Request is complete. Each outlook client disconnects for about 2 minutes when the move is at approximately 95%, but they are completing and functionality seems to be OK. DQ
July 12th, 2012 4:38pm

Hi, Does anyone have a fix for this? I am currently moving from Exchange 2003 to 2010 and before I installed SP2 RU3 the mailboxes moved fine. I was hoping RU4 release yesterday would fix this issue but it didn't I would like to have a fix ASAP as I have 100+ mailboxes and at 6 extra minutes per mailbox that's around 10 extra hours just in waiting. Our setup is very simple with one Exchange 2003 standard SP2 machine moving to one Exchange 2010 box. Thanks, Ken
Free Windows Admin Tool Kit Click here and download it now
August 15th, 2012 4:33pm

Hi All Has anyone managed to resolve this ? or find a fix We are experiancing the same issue with exchange 2010 SP2 RU2 It was working fine with SP1 LeeIT Team Leader Zycko LTD.
August 24th, 2012 4:55am

I haven't. I'm just deleting them as I go. I'd suggest you create a new post as I think this one is fairly dead.~bc
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2012 6:33pm

We are experiencing the same issue now, after installed SP2 & RU4, when moving mailboxes from one DB to another on the same Exchange 2010. So far no problems when moving mailboxes from Exchange 2007 into this new DB of E2010. And there were no problems a few months back (before SP2 RU4 installed) moving mailboxes on the same server between other two DBs. And the mailboxes which have "completed with warning" look like disconnected on the source DB side. Does anyone have a fix? Thanks, Eric
September 7th, 2012 5:18pm

Same here... SP2 RU4 and had two out of 85 mailboxes finish with the same error... Anybody??? Bueller???
Free Windows Admin Tool Kit Click here and download it now
September 7th, 2012 8:03pm

I don't think anyone but me is reading this tread. Your best bet is to start a new one.~bc
September 11th, 2012 1:51pm

Hi. I also have this problem at a customer that is doing a migration from Exchange 2007 to Exchange 2010. All Exchange 2010 servers with SP2 and the last Rollup patch. When do you run this powershell commands? When the move-mailbox says "Completing"? Or after all the mailbox move says Completed? //Glenn
Free Windows Admin Tool Kit Click here and download it now
September 17th, 2012 4:58am

Just wanted to chime in and advise I am seeing the same problem. 2010 SP1 to 2010 SP2 RU4. Created a new DB and moving the mailboxes across does exactly the same thing - sits at 6 attempts to clean up the old database. Could this be a problem moving between databases created in Exchange PRE-SP2 and if I recreate all my mailbox databases in SP2 it will go away? I am in the process of doing this anyway (we need SP2 to fix a whitespace issue) so am moving all mailboxes to new databases. I will report back if moving between native SP2 databases gives the same error. Does anyone know what the mailbox cleanup post move actually does? Even mailboxes that show as "completed" and not "completed with warnings" still appear in the disconnected mailbox so it isn't removing soft deleted mailboxes if that is what it is meant to do?
September 18th, 2012 11:05pm

You run the command when the status of the Move Request status is "Completed with warning"
Free Windows Admin Tool Kit Click here and download it now
September 19th, 2012 9:28am

Yeah but even mailboxes marked as "completed" and not with warnings still appear in disconnected mailboxes so aren't purged! I'm not too bothered about the old mailboxes that sit in a disconnected state on the old database as that is how it worked in SP1 and they will be cleaned up eventually automatically, the problem I have is the large number of mailboxes that need to be moved which will now take hours and hours longer than before (due to retrying every 30 seconds for 6 tries that is at least 3 minutes per mailbox even if they are empty which adds 300 minutes per 100 mailboxes or 5 hours!).
September 19th, 2012 5:10pm

We are at Exchange 2010 SP2 UR4 and it's still a problem. Hopefully Microsoft is looking into it. Even though everything seems to work, it adds a few minutes to each migration, and takes away the transparent moves, as outlook disconnects during the final 5% and doesn't re-connect until it hits 99%. Those few minutes are enough to bug our users.DQ
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2012 6:06pm

It seems to be an issue with SP2 RU3, rolling back to RU2 should resolve the issue. However to speed up the move request: Do this on all CAS boxes: C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeMailboxReplication.exe.configFind maxCleanupRetriesChange it to 1, Default value is 5. Restart MSExchangeMailboxReplication Service To Clean up a Soft Deleted Mailbox on a database: Get-MailboxStatistics -Database <DatabaseName> | Where { $_.DisconnectReason -eq "SoftDeleted" } | Format-List LegacyDN, DisplayName, MailboxGUID, DisconnectReasonRemove-StoreMailbox Database <DatabaseName> Identity <MAILBOXGUID> MailboxState SoftdeletedTo Clean up all Soft Deleted Mailboxes on a database:Get-MailboxStatistics Database <DatabaseName> | Where-Object {$_.DisconnectReason eq Softdeleted} | ForEach {Remove-StoreMailbox Database $_.database identity $_.mailboxguid MailboxState Softdeleted}
October 22nd, 2012 1:54am

I confirmed this is an active bug with MS support team about a week ago. Unfortunately I dont have a KB for it<o:p></o:p> I think this was broken in RU4 so maybe try RU3 instead ?<o:p></o:p> Lee<o:p></o:p> IT Team Leader Zycko LTD.
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2012 8:37am

Same problem in RU3 but works fine with SP2 with no rollup-packs installed.
October 26th, 2012 10:00am

Is there an RU5 for Exchange 2010? Bill
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2012 11:32am

Have you tried applying RU5 ?<o:p></o:p> Microsoft have confirmed this as a bug with ru4 which causes the failed clean-up issue Lee IT Team Leader Zycko LTD.
October 26th, 2012 12:35pm

Is there an RU5 for Exchange 2010? Bill No, not for SP2 yet. Hopefully this is fixed in SP2 RU5 but who knows.
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2012 4:46pm

Started having this issue after installing RU4.
October 26th, 2012 5:39pm

I am having this problem with SP2 RU3~bc
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2012 5:46pm

I rolled back to SP2 RU2 from SP2 RU4 and the problem went away. This won't be a widespread issue as it only affects mailbox moves, but if you have to do migrations (like I have to!) then it is going to prove a problem as this increases mailbox move times significantly having to wait 3 minutes extra for each mailbox. I would assume the only way to get round this when migrating from Exchange 2003 is to install SP2 RU2, migrate mailboxes to 2010 and THEN install the RU4?
October 26th, 2012 10:36pm

Have you tried applying RU5 ?<o:p></o:p> Microsoft have confirmed this as a bug with ru4 which causes the failed clean-up issue Lee IT Team Leader Zycko LTD. Have MS really confirmed this is a bug? Is there a link to the KB so I can see if there is a hotfix available? It stops a new deployment as migrating mailboxes over to 2010 SP2 will take too long during the outage window increasing the project time.
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2012 4:36am

same problem here, sp 2 ru 3, moving mailboxes from ex 2003 to 2010
October 27th, 2012 4:43am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics